home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Installation Tools & Overlays 2002 November
/
SGI IRIX Installation Tools & Overlays 2002 November - Disc 1.iso
/
dist
/
roboinst.idb
/
usr
/
share
/
src
/
RoboInst
/
new62
/
mrconfig.z
/
mrconfig
Wrap
Text File
|
2002-10-15
|
4KB
|
107 lines
# New to RoboInst 1.1 and the 6.5.2 miniroot (installation tools) is the
# ability to install older OS versions.
# This is an example of clean installing an IRIX 6.2 system.
# A selections file based upon an existing system would probably be
# a better choice in the long run.
# NOTE that it is mandatory to install the latest XFS patch (patch 3289
# "XFS rollup #14 for IRIX 6.2" or successor) and its prereq patches
# during the RoboInst session, or the kernel will not be able to mount
# the root filesystem!
# You must also install roboinst.sw.client (v1.1 or later) last for a
# recent sash so that the system is bootable.
version 1
# logs to an IP address, not a hostname
loghost 10.62.51.110
# pretty safe (for other partitions), if the partitions are good sizes.
# this doesn't change disk partitioning, but does create a new filesystem.
partition systemdisk preserve xfs /
preinst echo "poor man's nameservice: appending to miniroot hosts file..."
preinst echo '10.26.80.118 dist.my.domain dist' >> /etc/hosts 2>/dev/null
preinst echo '10.62.51.110 server.my.domain server' >> /etc/hosts 2>/dev/null
# Uncommenting the onerror line below causes inst to stop
# if there are any installation conflicts, and wait for
# you to manually make corrections.
#onerror wait
# this installs a "small" (close to minimum) workable desktop system
setenv BASE dist:/os/irix
inst from $BASE/irix-6.2-part-1-of-2
inst keep *
inst install required
inst install eoe.*.gifts_perl* eoe.sw.termbase eoe.sw.usrshare
# note that eoe.sw.xfs is tagged "default", but not "required",
# but is essential for the system to boot!
inst install eoe.*.nds compiler_eoe.sw32.lib eoe.sw.xfs eoe.sw.xlv
inst install default desktop_base x_eoe motif_eoe
inst keep *.books
inst install applicablepatches
inst install prereqs
inst go
inst open $BASE/irix-6.2-part-2-of-2
inst keep *
inst install required
inst install default desktop_eoe 4Dwm
inst keep *.books
inst install applicablepatches
inst install prereqs
inst go
inst open $BASE/irix-6.2-apps-august-1997
inst keep *
inst install default netscape
inst keep *.books
inst install applicablepatches
inst install prereqs
inst go
inst open $BASE/onc3-nfs-6.2
inst keep *
inst install default nfs onc3_eoe
inst keep *.books
inst install prereqs
inst go
# patch 3289 is the critical patch with the XFS fix to allow mounting
# the filesystem created by the miniroot
inst from $BASE/patches/patch3289/dist
# this is a required prereq patch for 3289, or the kernel won't link
inst open $BASE/patches/patch3252/dist
# the patchsets are optional, and can be installed later (live)
#inst open $BASE/patchsets/25
#inst open $BASE/patchsets/43
inst install applicablepatches
inst go
inst from $BASE/misc/roboinst
# you must install roboinst last to get a sash for a bootable system
inst install default roboinst
inst go
inst set rqs_task rqsread
# minimum configure
# can't use the perl-based post configure since the perl supplied with
# 6.2 is too old.
postinst echo "starting trivial post configuration"
postinst echo 'host1.my.domain' > /root/etc/sys_id
postinst grep -v host1 /root/etc/hosts > /root/etc/hosts-N
postinst echo '10.62.51.133 host1.my.domain host1' >> /root/etc/hosts-N
postinst mv /root/etc/hosts-N /root/etc/hosts
postinst if ! test -f /root/etc/resolv.conf; then
postinst echo "domain my.domain" > /root/etc/resolv.conf
postinst echo "nameserver 10.62.51.3" >> /root/etc/resolv.conf
postinst echo "nameserver 10.62.51.2" >> /root/etc/resolv.conf
postinst fi
postinst echo "my.domain" > /root/var/yp/ypdomain
postinst if ! test -f /root/etc/config/ifconfig-1.options; then
postinst echo 'netmask 0xffffff00' > /root/etc/config/ifconfig-1.options
postinst fi
postinst chroot /root /etc/chkconfig -f network on
postinst chroot /root /etc/chkconfig -f autoconfig_ipaddress off
postinst chroot /root /etc/chkconfig -f firsttimeprograms off
postinst chroot /root /etc/chkconfig -f yp on
#
# This is a minimal set of selections and patchsets appropriate for an
# Indy or other desktop system. Other patches, patchsets and selections
# would be needed for Challenge and Onyx.